dojo.declare("DAdminOrderDetailsByVendorRange", wm.Page, {
    start: function() {

    },
    "preferredDevice": "desktop",

    svVendorOrderDetailsResult: function(inSender, inDeprecated) {

        var totalPrice = 0;

        for (var count = 0; count < this.svVendorOrderDetails.getCount(); count++) {

            var rowObj = this.svVendorOrderDetails.getItem(count).data;

            totalPrice = totalPrice + rowObj.price;
        }

        this.labelTotal.setCaption(totalPrice.toFixed(2) + " Rs");
    },
    _end: 0
});